package com.yonyougov.devops.cruxcisupport.versioninfo.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.util.List;

@Data
@ApiModel(value = "关联提测单")
public class RelationVersionInfoRequestDto extends BaseRequestDto {

    @NotEmpty
    @ApiModelProperty(required = true, name = "版本id集合")
    private List<BigInteger> versionIds ;

    @NotNull
    @ApiModelProperty(required = true, name = "提测单id")
    private BigInteger commitTestId;

}
